package com.mmlc.utils;

import java.util.List;

/**
 * Created by Administrator on 2016/9/30.
 */
public class StringUtils {

    public static String arrayToString(List<String> array) {
        StringBuilder sb=new StringBuilder();
        for (String str:array)
        {
            sb.append(str);
            sb.append(",");
        }
        if (sb.length()>0)
            sb.deleteCharAt(sb.lastIndexOf(","));

        return sb.toString();
    }

}
